Skip to main content

Region Click

AutomatR.Windows.Activities.RegionClick

The "Region Click" activity in AutomatR provides functionality to click on a selected region within an image. This activity is particularly useful for automating interactions with graphical elements based on specified regions.

Properties

NameDescription
Input
Region SelectionSpecifies the region on the screen where the click operation will be performed. This property allows you to select the region by providing coordinates (X, Y, Width, Height). Use the Region Click Editor to assist in selecting the appropriate region.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Region Click" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.

How to use:

  1. Drag and drop the "Region Click" activity onto the workflow.
  2. Configure the properties by providing the region selection or using the Region Click Editor to choose the region interactively.
  3. Optionally, configure the delay.
  4. Execute the workflow to perform a click operation within the specified region.

Example: Consider an example where the "Region Click" activity is used to click on a specific region within an image:

Region Click:
Region Selection: "100, 200, 50, 50" (X, Y, Width, Height)
Delay: 2

In this example, the activity clicks on the region with coordinates (X=100, Y=200) and a size of 50x50 pixels. The operation is performed after a delay of 2 seconds.